import { login } from './login'
import { userInfo, editProfile, editAvatar,followUser,unfollowUser } from './user'
import { channels } from './channel'
import { articleList, articleInfo, zan, unzan, unlike, cancelUnlike  } from './article' // 文章页面
import { cmtList, sendCmt} from './comment'
import { channelsAll,addChannel ,DelChannel} from './channel'
import { suggest,getSearchResult }from './search'


import { recommendList } from './home'
import { newMusicList } from './home'
import { hotSearchList, SearchList } from './musicSearch'
import { getSongById, getLyricById } from './play'
export const getSongByIdAPI = getSongById
export const getLyricByIdAPI = getLyricById
export const SearchListAPI = SearchList
export const hotSearchListAPI = hotSearchList
export const newMusicListAPI = newMusicList
export const recommendListAPI = recommendList



export const cancelUnlikeAPI = cancelUnlike //取消点不喜欢
export const unlikeAPI = unlike //点不喜欢
export const unzanAPI = unzan //取消点赞
export const zanAPI = zan //点赞
export const unfollowUserAPI = unfollowUser // 取关用户
export const followUserAPI = followUser // 关注用户
export const getSearchResultAPI = getSearchResult // 搜索结果页面
export const suggestAPI = suggest // 搜索联想词语
export const DelChannelAPI = DelChannel // 删除用户频道
export const addChannelAPI = addChannel // 设置用户频道
export const channelsAllAPI = channelsAll // 所有频道数据
export const sendCmtAPI = sendCmt // 发表评论的接口
export const cmtListAPI = cmtList
export const articleInfoAPI = articleInfo // 获取文章详情的方法
export const articleListAPI = articleList// 获取频道详情列表
export const channelsAPI = channels// 获取频道列表
// 暴露login接口
export const loginAPI = login


export const userInfoAPI = userInfo
export const editProfileAPI = editProfile
export const editAvatarAPI = editAvatar// 编辑图片